<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
     <script src="<%=path%>/js/jquery.min.js"></script>
   
  </head>
  
  <script>
  
  var second=3;
 function reloadyemian()//最好不要用reload这个关键字,因为很容易和其它函数冲突 
{ 
         second--;
         if(second==0)
            window.location.href="main.html"; 
            
           $("#changemiao").empty();
           $("#changemiao").append(second); 
    
       window.setTimeout("reloadyemian();",1000); 
     
} 
 window.setTimeout("reloadyemian();",1000); 
</script> 


  <body>
   <h1 style="color:red">登陆失败</h1><br/>
   <span id="changemiao">3</span><b>秒后返回首页</b>
  </body>
</html>
